from rest_framework.pagination import PageNumberPagination

class StandardResultsSetPagination(PageNumberPagination):
    # 页数
    page_size = 4
    # 每页个数
    page_size_query_param = 'page_size'
    # 最大页数
    max_page_size = 20